package cyou.breathe.blog.api.article.model;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author: breathe
 * @createTime: 2025-09-04
 */
@Getter
@Setter
@ToString
public class ArticleDetailVO {
    private String title;

    private String content;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date gmtCreate;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date gmtModified;

    private String authorName;

    private List<String> tagNames;
}
